<template>
    <RouterView />
    <van-tabbar v-model="active" active-color="#FF0088">
        <van-tabbar-item name="home" to="/home" icon="home-o">首页</van-tabbar-item>
        <van-tabbar-item name="jishi" to="/jishi" icon="contact-o">技师</van-tabbar-item>
        <van-tabbar-item name="order" to="/order" icon="orders-o">订单</van-tabbar-item>
        <van-tabbar-item name="mycenter" to="/mycenter" icon="contact-o">我的</van-tabbar-item>
    </van-tabbar>
</template>
<script setup lang="ts" name="index">
import { RouterView, useRoute, useRouter } from 'vue-router'

import { ref, watch, getCurrentInstance } from 'vue'

let active = ref('home')

</script>
<style scoped></style>